{% set form = hookable_metadata.context.form %}

{% if form.optionValues is defined and form.optionValues|length > 0 %}
    <div class="mb-4">
        {% hook 'options' %}
    </div>
{% endif %}
